import { getPermissionAPI } from '@/api/login'
import router, { DynamicRoutes } from '@/router/index.js'
import dynamicRouter from '@/router/dynamic-router'

import { recursionRouter, setDefaultRoute } from '@/utils/recursion-route'
export default {
    namespaced: true,
    state: {
        isCollapse: false,
        asideWidth: '220px'

    },
    getters: {},
    mutations: {
        SETISCOLLAPSE(state, value) {
            state.isCollapse = !state.isCollapse
            state.isCollapse ? state.asideWidth = "64px" : state.asideWidth = "220px";
        }

    },
    actions: {

    }
}